#include "Encoder.h"

int Read_Encoder_Right(void)
{
  int Encoder_TIM_Right;
	
	Encoder_TIM_Right=(short)ENCODE_TIMX_Right->CNT; ENCODE_TIMX_Right ->CNT=0;
	
  return Encoder_TIM_Right;
}

int Read_Encoder_Left(void)
{
  int Encoder_TIM_Left;
	
	Encoder_TIM_Left=(short)ENCODE_TIMX_Left->CNT; ENCODE_TIMX_Left ->CNT=0;
	
  return Encoder_TIM_Left;
}
